//
//  HELStatisticCell.m
//  sanda
//
//  Created by 陈武琦 on 16/7/13.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "HELStatisticCell.h"
#import "UIImageView+WebCache.h"
@implementation HELStatisticCell

- (void)setModel:(HELStatisticModel *)model {

    _model = model;
    self.title.text = model.title;
    self.dateTime.text = model.finishTimeShow;
    self.fullScore.text = model.fullScore;
    self.qualfied.text = model.passScore;
    [self.leftIcon sd_setImageWithURL:[NSURL URLWithString:model.coverUrlShowMap.mid] placeholderImage:[UIImage imageNamed:@"暂无图片.jpg"]];
    self.score.text =  [NSString stringWithFormat:@"%@(%@)",model.examScore, model.examStatusShow];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.leftIcon.layer.borderWidth = 0.5;
    self.leftIcon.layer.borderColor = kBorderColor.CGColor;
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
